package com.neusoft.elmboot.controller;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.neusoft.elmboot.po.UserWallet;
import com.neusoft.elmboot.service.UserWalletService;

@RestController
@RequestMapping("/UserWalletController")
public class UserWalletController {
	@Autowired
	private UserWalletService userwalletService;
	
	@RequestMapping("/listUserWalletByUserId")
	 public UserWallet listUserWalletByUserId(UserWallet userwallet) throws Exception{
	 return userwalletService.listUserWalletByUserId(userwallet);
	 }
}
